projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2854421
)
(save-buffer-state-x): Use with-no-warnings.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 29 Dec 2003 20:03:05 +0000
(20:03 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 29 Dec 2003 20:03:05 +0000
(20:03 +0000)
lisp/progmodes/antlr-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/antlr-mode.el
b/lisp/progmodes/antlr-mode.el
index f3a540fc4919f1bcdd163127a28a41a6124d3141..b7bf99efa2eaf24ccaf57cc994d1b60764492be2 100644
(file)
--- a/
lisp/progmodes/antlr-mode.el
+++ b/
lisp/progmodes/antlr-mode.el
@@
-161,7
+161,7
@@
;; More compile-time-macros
(eval-when-compile
(defmacro save-buffer-state-x (&rest body) ; similar to EMACS/lazy-lock.el
- (let ((modified (
gensym "save-buffer-state-x-modified-"
)))
+ (let ((modified (
with-no-warnings (gensym "save-buffer-state-x-modified-")
)))
`(let ((,modified (buffer-modified-p)))
(unwind-protect
(let ((buffer-undo-list t) (inhibit-read-only t)